package com.pactera.madp.cp.api.vo.moments;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @File name：com.pactera.madp.cp.api.vo.moments.MomentsDetailsVO
 * @Create on：2022/5/16
 * @Author：tianq
 */
@Data
@Api(value = "MomentsDetailsVO",tags = "朋友圈任务详情")
public class MomentsDetailsVO {

    @ApiModelProperty(value="主键")
    private Integer id;

    @ApiModelProperty(value="朋友圈类型 0：企业发表 1：个人发表")
    private Integer filterType;

    @ApiModelProperty(value="标题")
    private String title;

    @ApiModelProperty(value="部门id列表")
    private List<DeptS> deptS;

    @ApiModelProperty(value="员工id列表")
    private List<EmployeeList> employeeLists;

    @ApiModelProperty(value="内容")
    private String content;

    @ApiModelProperty(value="图片路径")
    private List<String> imgUrl;

    @ApiModelProperty(value="视频路径")
    private List<String> videoUrl;

    @ApiModelProperty(value="链接地址")
    private Map<String,Object> linkUrl;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @NoArgsConstructor
    @Data
    public static class EmployeeList{
        @ApiModelProperty(value = "用户id列表")
        private Integer employeeId;

        @ApiModelProperty(value = "用户姓名列表")
        private String employeeName;
    }

    @NoArgsConstructor
    @Data
    public static class DeptS{
        @ApiModelProperty(value = "部门列表")
        private Integer deptIds;

        @ApiModelProperty(value = "部门列表名")
        private String deptIdName;
    }

}
